package com.example.androidtvdemo.net;

import java.util.List;

/**
 * Create by os on 2021/9/9
 * Desc :
 */
public class BlogArticle {

    private Boolean success;
    private Integer code;
    private String message;
    private DataBean data;

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<ContentBean> content;
        private PageableBean pageable;
        private Boolean last;
        private Integer totalElements;
        private Integer totalPages;
        private Boolean first;
        private SortBean sort;
        private Integer numberOfElements;
        private Integer size;
        private Integer number;

        public List<ContentBean> getContent() {
            return content;
        }

        public void setContent(List<ContentBean> content) {
            this.content = content;
        }

        public PageableBean getPageable() {
            return pageable;
        }

        public void setPageable(PageableBean pageable) {
            this.pageable = pageable;
        }

        public Boolean getLast() {
            return last;
        }

        public void setLast(Boolean last) {
            this.last = last;
        }

        public Integer getTotalElements() {
            return totalElements;
        }

        public void setTotalElements(Integer totalElements) {
            this.totalElements = totalElements;
        }

        public Integer getTotalPages() {
            return totalPages;
        }

        public void setTotalPages(Integer totalPages) {
            this.totalPages = totalPages;
        }

        public Boolean getFirst() {
            return first;
        }

        public void setFirst(Boolean first) {
            this.first = first;
        }

        public SortBean getSort() {
            return sort;
        }

        public void setSort(SortBean sort) {
            this.sort = sort;
        }

        public Integer getNumberOfElements() {
            return numberOfElements;
        }

        public void setNumberOfElements(Integer numberOfElements) {
            this.numberOfElements = numberOfElements;
        }

        public Integer getSize() {
            return size;
        }

        public void setSize(Integer size) {
            this.size = size;
        }

        public Integer getNumber() {
            return number;
        }

        public void setNumber(Integer number) {
            this.number = number;
        }

        public static class PageableBean {
            private SortBean sort;
            private Integer pageSize;
            private Integer pageNumber;
            private Integer offset;
            private Boolean paged;
            private Boolean unpaged;

            public SortBean getSort() {
                return sort;
            }

            public void setSort(SortBean sort) {
                this.sort = sort;
            }

            public Integer getPageSize() {
                return pageSize;
            }

            public void setPageSize(Integer pageSize) {
                this.pageSize = pageSize;
            }

            public Integer getPageNumber() {
                return pageNumber;
            }

            public void setPageNumber(Integer pageNumber) {
                this.pageNumber = pageNumber;
            }

            public Integer getOffset() {
                return offset;
            }

            public void setOffset(Integer offset) {
                this.offset = offset;
            }

            public Boolean getPaged() {
                return paged;
            }

            public void setPaged(Boolean paged) {
                this.paged = paged;
            }

            public Boolean getUnpaged() {
                return unpaged;
            }

            public void setUnpaged(Boolean unpaged) {
                this.unpaged = unpaged;
            }

            public static class SortBean {
                private Boolean sorted;
                private Boolean unsorted;

                public Boolean getSorted() {
                    return sorted;
                }

                public void setSorted(Boolean sorted) {
                    this.sorted = sorted;
                }

                public Boolean getUnsorted() {
                    return unsorted;
                }

                public void setUnsorted(Boolean unsorted) {
                    this.unsorted = unsorted;
                }
            }
        }

        public static class SortBean {
            private Boolean sorted;
            private Boolean unsorted;

            public Boolean getSorted() {
                return sorted;
            }

            public void setSorted(Boolean sorted) {
                this.sorted = sorted;
            }

            public Boolean getUnsorted() {
                return unsorted;
            }

            public void setUnsorted(Boolean unsorted) {
                this.unsorted = unsorted;
            }
        }

        public static class ContentBean {
            private String id;
            private String title;
            private String user_id;
            private String categoryId;
            private String type;
            private String cover;
            private String state;
            private String summary;
            private String labels;
            private Integer viewCount;
            private String createTime;
            private String updateTime;
            private List<String> labelList;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getUser_id() {
                return user_id;
            }

            public void setUser_id(String user_id) {
                this.user_id = user_id;
            }

            public String getCategoryId() {
                return categoryId;
            }

            public void setCategoryId(String categoryId) {
                this.categoryId = categoryId;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getCover() {
                return cover;
            }

            public void setCover(String cover) {
                this.cover = cover;
            }

            public String getState() {
                return state;
            }

            public void setState(String state) {
                this.state = state;
            }

            public String getSummary() {
                return summary;
            }

            public void setSummary(String summary) {
                this.summary = summary;
            }

            public String getLabels() {
                return labels;
            }

            public void setLabels(String labels) {
                this.labels = labels;
            }

            public Integer getViewCount() {
                return viewCount;
            }

            public void setViewCount(Integer viewCount) {
                this.viewCount = viewCount;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public List<String> getLabelList() {
                return labelList;
            }

            public void setLabelList(List<String> labelList) {
                this.labelList = labelList;
            }
        }
    }
}
